package com.example.user.service;

import com.example.common.core.domain.R;
import com.example.common.core.domain.vo.LoginUserVO;
import com.example.user.domain.student.dto.StudentDTO;
import com.example.user.domain.student.dto.StudentSaveDTO;
import com.example.user.domain.student.vo.StudentDetailVO;

public interface IStudentService {
    boolean sendCode(StudentDTO studentDTO);

    String codeLogin(String email, String code);

    boolean logout(String token);

    R<LoginUserVO> info(String token);


    int edit(StudentSaveDTO studentSaveDTO);

    R<StudentDetailVO> detail(String token);

    int updateHeadImage(String headImage);
}
